Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pydoctyle plugin: The 'match' option in a config file isn't ignored #524

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

vpunch
Copy link

@vpunch vpunch commented Jan 27, 2024

See #523 for a description of this error.

The author of the pydocstyle_lint.py module made a mistake when he thought that pydocstyle ignores the --match option when we explicitly pass the path to a file for diagnosis. This behavior only occurs with respect to the --match-dir option. The link to the source code that proves this. As a result, users were unable to set the match parameter in their configuration file inside a project.

I fixed this error and did a little refactoring to get rid of the repetitive code.

@ccordoba12 ccordoba12 added this to the v1.11.1 milestone Mar 29, 2024
@ccordoba12 ccordoba12 removed this from the v1.12.0 milestone Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants